package com.dao;

import com.entity.Serviceshare;
import com.entity.ServiceshareExample;
import com.entity.ServiceshareKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ServiceshareDao {
    long countByExample(ServiceshareExample example);

    int deleteByExample(ServiceshareExample example);

    int deleteByPrimaryKey(ServiceshareKey key);

    int insert(Serviceshare record);

    int insertSelective(Serviceshare record);

    List<Serviceshare> selectByExample(ServiceshareExample example);

    Serviceshare selectByPrimaryKey(Integer key);

    int updateByExampleSelective(@Param("record") Serviceshare record, @Param("example") ServiceshareExample example);

    int updateByExample(@Param("record") Serviceshare record, @Param("example") ServiceshareExample example);

    int updateByPrimaryKeySelective(Serviceshare record);

    int updateByPrimaryKey(Serviceshare record);
}